import {departList} from '@/utils/data'
export const tableOption = {
  searchMenuSpan: 6,
  columnBtn: false,
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  menuWidth: 200,
  addBtn: false,
  editBtn: false,
  delBtn: false,
  defaultSort: {
    prop: 'empNo',
    order: 'descending'
  },
  column: [
    {
      label: '用户代码',
      prop: 'empNo',
      sortable: true,
      search: true
    },
    {
      label: '员工姓名',
      prop: 'empName',
      sortable: true,
      slot: true
    },
    // {
    //   label: '部门代码',
    //   prop: 'recTime',
    //   width: '200'
    // },
    {
      label: '所属部门',
      sortable: true,
      prop: 'deptId',
      type: 'select',
      dicData: departList
    },
    {
      label: '关联CRM账号',
      sortable: true,
      prop: 'biz1',
    },
    {
      label: '关联ERP账号',
      sortable: true,
      prop: 'biz5',
    },
  ]
}
